let funcs = {
	showModalTips: (tip, showCancel = false, confirm, cancel) => {
		uni.showModal({
			title: '温馨提示',
			content: tip,
			showCancel: showCancel,
			success: function (res) {
				if (res.confirm) {
					confirm && confirm();
				} else if (res.cancel) {
					cancel && cancel();
				}
			}
		});
	}
}
export default funcs;